<?php 

// Check Session 
// If Logged in 
// Then use a different header file
// Or Not

$this->load->view('includes/header.php');

$this->load->view($main_content);

$this->load->view('includes/footer.php');

?>